package cn.shyouchi.wuguanjia.android.ui.reportstatistic;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

import cn.shyouchi.wuguanjia.android.R;

/**
 * Created by Eenie on 2017/2/23 at 14:19
 * Email: 472279981@qq.com
 * Des:
 */

public class ReportDayStatisticDetailAdapter extends BaseQuickAdapter<ReportDayStatisticEntity.InfoBean,BaseViewHolder> {
    public ReportDayStatisticDetailAdapter( List<ReportDayStatisticEntity.InfoBean> data) {
        super(R.layout.item_report_info_layout, data);
    }

    @Override
    protected void convert(BaseViewHolder holder, ReportDayStatisticEntity.InfoBean infoBean) {

        holder.setText(R.id.tv_sign_time, infoBean.getPost());
        holder.setText(R.id.tv_sign_state, infoBean.getTime());


    }
}
